import request from '@/utils/request'
export default{
  getStatistics(begin, end) {
    return request({
      url: `/admin/statistics/daily/getStatistics/${begin}/${end}`,
      method: 'GET'
    })
  },
  genStatistics(day) {
    return request({
      url: '/admin/statistics/daily/genDaily/' + day,
      method: 'POST'
    })
  }

}
